package com.lin.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    //主键
    private Integer userId;
    //邮箱
    private String email;
    //密码
    private String password;
    //用户名
    private String username;
    //手机号
    private String phone;
    //头像
    private String avatar;
    //性别
    private Integer gender;
    //昵称
    private String nickname;
    //个性签名
    private String signature;
    //所在地
    private String location;
    
    private Integer postNum;    //动态数量
    private Integer fanNum;     //粉丝数
    private Integer followNum;  //关注数
    private Integer isFollow;   //是否是查询者的关注

}
